package com.buba.dao;

import com.buba.pojo.Area;
import com.buba.pojo.User;

import java.util.List;

public interface AreaMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);

    List<Area> listOrganization();

    Area selectByAreaname(String areaname);

    Area getAreaByAreacode(String areacode);
}